package com.beself.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * author:徐明
 * date：2019/10/19 15:01
 * description:用户当天的习惯完成状态
 */
public class DateStatus {
    private Integer tId;
    private Integer uId;
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date tDatetime;
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date tUpdatetime;
    private Integer hsStatus;

    private TUser tUser;

    public DateStatus() {
    }

    public DateStatus(Integer tId, Integer uId, Date tDatetime, Date tUpdatetime, Integer hsStatus, TUser tUser) {
        this.tId = tId;
        this.uId = uId;
        this.tDatetime = tDatetime;
        this.tUpdatetime = tUpdatetime;
        this.hsStatus = hsStatus;
        this.tUser = tUser;
    }

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Date gettDatetime() {
        return tDatetime;
    }

    public void settDatetime(Date tDatetime) {
        this.tDatetime = tDatetime;
    }

    public Date gettUpdatetime() {
        return tUpdatetime;
    }

    public void settUpdatetime(Date tUpdatetime) {
        this.tUpdatetime = tUpdatetime;
    }

    public Integer getHsStatus() {
        return hsStatus;
    }

    public void setHsStatus(Integer hsStatus) {
        this.hsStatus = hsStatus;
    }

    public TUser gettUser() {
        return tUser;
    }

    public void settUser(TUser tUser) {
        this.tUser = tUser;
    }
}
